package com.huyiyu.dbproject.mapper;

import com.huyiyu.dbproject.dto.Student;
import com.huyiyu.dbproject.dto.StudentDetail;
import com.huyiyu.dbproject.dto.StudentTemp;

import java.util.ArrayList;

public interface StudentMapper {
  ArrayList<Student> getStudents();

  ArrayList<Student> getStudentBySno(int Sno);

  int deleteStudent(int Sno);

  ArrayList<StudentTemp> getStudentsByIntellectual();

  ArrayList<StudentTemp> getStudentsByCapacity();

  int insertStudent(StudentDetail studentDetail);

  int updateStudent(StudentDetail studentDetail);
}
